<include file="application/walletyhbbadmin/view/public/left.html"/>
<div id="dcMain">
   <!-- 当前位置 -->
<div id="urHere">管理中心<b>></b><strong>商品管理</strong> </div>   <div class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
            <h3>商品信息</h3>
    <form action="{:U('Goods/lists_add')}" method="post" enctype="multipart/form-data" id="myform" name="myform">
     <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
      <tr>
       <td width="80" align="right">商品名称：</td>
       <td>
        <input type="text" name="name" id="name"  value="" size="50" class="inpMain" />
       </td>
      </tr>
      <tr>
       <td align="right">商品图片：</td>
       <td>
            <input type="file" name="pic" id="pic" />
        <!--<img src="{$list.pic}" width="200px"/>-->
       </td>
      </tr>
      <tr>
       <td width="80" align="right">商品数量：</td>
       <td>
        <input type="text" name="inventory" id="inventory"  value="" size="50" class="inpMain" />
       </td>
      </tr>
      
    
      
      <tr>
       <td align="right" valign="top">商品简介：</td>
       <td>
        <!-- KindEditor -->
        <link rel="stylesheet" href="__PUBLIC__/app/admin/js/kindeditor/themes/default/default.css" />
        <link rel="stylesheet" href="__PUBLIC__/app/admin/js/kindeditor/plugins/code/prettify.css" />
        <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/kindeditor.js"></script>
        <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/lang/zh_CN.js"></script>
        <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/plugins/code/prettify.js"></script>
        <script>
          KindEditor.ready(function(K) {
            var editor1 = K.create('textarea[name="content"]', {
              // cssPath : '../plugins/code/prettify.css',
              cssPath : '__PUBLIC__/app/admin/js/kindeditor/plugins/code/prettify.css',
              // uploadJson : '../php/upload_json.php',
              uploadJson : '__PUBLIC__/app/admin/js/kindeditor/php/upload_json.php',
              // fileManagerJson : '../php/file_manager_json.php',
              fileManagerJson : '__PUBLIC__/app/admin/js/kindeditor/php/file_manager_json.php',
              allowFileManager : false,
              afterCreate : function() {
                var self = this;
                K.ctrl(document, 13, function() {
                  self.sync();
                  K('form[name=example]')[0].submit();
                });
                K.ctrl(self.edit.doc, 13, function() {
                  self.sync();
                  K('form[name=example]')[0].submit();
                });
              }
            });
            prettyPrint();
          });
      </script>
        <!-- /KindEditor -->
        <textarea id="content" name="content" style="width:780px;height:400px;" class="textArea"></textarea>
       </td>
      </tr>
      <tr>
       <td></td>
       <td>
        <input name="submit" class="btn" type="submit" value="提交" />
        <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button"></td>
       </td>
      </tr>
     </table>
    </form>
       </div>
 </div>
 <div class="clear"></div>
<include file="application/walletyhbbadmin/view/public/foot.html"/><!-- dcFooter 结束 -->
<div class="clear"></div> </div>
</body>
</html>